package com.zr.dao.sys;

import com.zr.vo.sys.SysUser;

import java.util.List;

public interface SysUserDao {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    /**
     * 用户登录
     * @param sysUser
     * @return
     * @author liutienan
     */
    SysUser login(SysUser sysUser);

    int updateImgUrlByUserId(SysUser sysUser);

    List<SysUser> list(SysUser sysUser);

    List<SysUser> getPersonInfo();
}